package com.wyh.socket_demo;

import com.wyh.socket_demo.endpoint.FileServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.net.UnknownHostException;

@EnableScheduling // 开启定时任务功能
@SpringBootApplication
public class SocketDemoApplication {

    public static void main(String[] args) throws UnknownHostException, InterruptedException {
        SpringApplication.run(SocketDemoApplication.class, args);
    }

}
